#!/bin/bash

#cc1.ss
./sim-bpred -bpred perceptron -bpred:perceptron 28 141 ../spec95-little/cc1.ss ../benchmarks/1stmt.i -o /dev/null
./sim-bpred -bpred perceptron -bpred:perceptron 62 7397 ../spec95-little/cc1.ss ../benchmarks/1stmt.i -o /dev/null
./sim-bpred -bpred bimod -bpred:bimod 16384 ../spec95-little/cc1.ss ../benchmarks/1stmt.i -o /dev/null
./sim-bpred -bpred bimod -bpred:bimod 2097152 ../spec95-little/cc1.ss ../benchmarks/1stmt.i -o /dev/null
./sim-bpred -bpred taken ../spec95-little/cc1.ss ../benchmarks/1stmt.i -o /dev/null
./sim-bpred -bpred nottaken ../spec95-little/cc1.ss ../benchmarks/1stmt.i -o /dev/null

#compress95.ss
./sim-bpred -bpred perceptron -bpred:perceptron 28 141 ../spec95-little/compress95.ss < ../benchmarks/compress95.in
./sim-bpred -bpred perceptron -bpred:perceptron 62 7397 ../spec95-little/compress95.ss < ../benchmarks/compress95.in
./sim-bpred -bpred bimod -bpred:bimod 16384 ../spec95-little/compress95.ss < ../benchmarks/compress95.in
./sim-bpred -bpred bimod -bpred:bimod 2097152 ../spec95-little/compress95.ss < ../benchmarks/compress95.in
./sim-bpred -bpred taken ../spec95-little/compress95.ss < ../benchmarks/compress95.in
./sim-bpred -bpred nottaken ../spec95-little/compress95.ss < ../benchmarks/compress95.in

#go.ss
./sim-bpred -bpred perceptron -bpred:perceptron 28 141 ../spec95-little/go.ss 50 9 ../benchmarks/2stone9.in
./sim-bpred -bpred perceptron -bpred:perceptron 62 7397 ../spec95-little/go.ss 50 9 ../benchmarks/2stone9.in
./sim-bpred -bpred bimod -bpred:bimod 16384 ../spec95-little/go.ss 50 9 ../benchmarks/2stone9.in
./sim-bpred -bpred bimod -bpred:bimod 2097152 ../spec95-little/go.ss 50 9 ../benchmarks/2stone9.in
./sim-bpred -bpred taken ../spec95-little/go.ss 50 9 ../benchmarks/2stone9.in
./sim-bpred -bpred nottaken ../spec95-little/go.ss 50 9 ../benchmarks/2stone9.in

#perl.ss
./sim-bpred -bpred perceptron -bpred:perceptron 28 141 ../spec95-little/perl.ss ../benchmarks/perl-tests.pl
./sim-bpred -bpred perceptron -bpred:perceptron 62 7397 ../spec95-little/perl.ss ../benchmarks/perl-tests.pl
./sim-bpred -bpred bimod -bpred:bimod 16384 ../spec95-little/perl.ss ../benchmarks/perl-tests.pl
./sim-bpred -bpred bimod -bpred:bimod 2097152 ../spec95-little/perl.ss ../benchmarks/perl-tests.pl
./sim-bpred -bpred taken ../spec95-little/perl.ss ../benchmarks/perl-tests.pl
./sim-bpred -bpred nottaken ../spec95-little/perl.ss ../benchmarks/perl-tests.pl


